<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<!-- Ne pas oublier cette ligne sinon tous les tags de la JSTL seront ignorés ! -->
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  <head>
    <title>Administration Jeux vidéos</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
     <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" />
    <link rel="shortcut icon" type="images/x-icon" href="../favicon.ico" />
    <script type="text/javascript" src="../js/jquery-1.5.2.min.js"></script>
    <script type="text/javascript" src="../js/jquery-ui-1.8.12.custom.min.js"></script>
   <script src="../js/jquery.validate.min.js" type="text/javascript"></script>
   <script type="text/javascript" src="../js/jquery.tablesorter.min.js"></script> 
    
   <link rel="stylesheet" href="../css/tablesorter.css" type="text/css" media="screen" />
   <script type="text/javascript" src="js/admin.js"></script>
  </head>
<body>

  <div id="container">
      <!-- Menu Supérieur -->
       <%@include file="header.jsp" %>
      <!-- Fin Header -->
      <!-- Debut Colonne Gauche -->
      <div id="gauche">
         <%@include file="gauche.jsp" %>
      </div>
      <!-- Fin Colonne Gauche -->

      <!-- Debut Colonne Droite -->
      <div id="centre">
          <h2>${requestScope['nbClients']} Clients </h2>
         <table cellspacing="1" class="tablesorter">             
         <thead>
            <tr> 
                <th>Prénom</th> 
                <th>Nom</th> 
                <th>Email</th> 
            </tr> 
         </thead> 
         <tbody> 
            <c:forEach var="u" items="${requestScope['listeClient']}">
            <tr> 
                <td>${u.getPrenom()}</td> 
                <td>${u.getNom()}</td> 
                <td>${u.getEmail()}</td> 
            </tr> 
            </c:forEach>
            
         </tbody> 
         </table>
      </div>
      <!-- Fin Colonne Droite -->

      <!-- Début Footer -->
      <div id="footer">
      </div>
      <!-- Fin Footer -->
  </div>
  <!-- Fin du Conteneur de la Page -->
</body>
</html>
